home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 090 / cpp.arc / CPP.MAK < prev    next >
Text File  |  1986-12-04  |  622b  |  29 lines

  1. # make file for CPP.EXE
  2.  
  3. OBJS = cpp1.o cpp2.o cpp3.o cpp4.o cpp5.o cpp6.o
  4.  
  5. SOURCES = cpp1.c cpp2.c cpp3.c cpp4.c cpp5.c cpp6.c
  6.  
  7. # The generic dependency that .o files depend upon .c files
  8. # and the generic operation that the Manx C compiler is used
  9. # to create the .o files from the .c files.
  10. #
  11. .c.o:
  12.     cc $<
  13.  
  14. # The rules for linking
  15. #
  16. cpp.exe : $(OBJS)
  17.     ln $(OBJS) -lm -lc
  18.  
  19. cpp1.o cpp2.o cpp3.o cpp4.o cpp5.o cpp6.o : cpp.h cppdef.h
  20.  
  21. list : $(SOURCES)
  22.         ccref -fl $(SOURCES) >cpp.lst
  23.  
  24. lint : $(SOURCES)
  25.         prec -I\manx\headers\ $(SOURCES) \manx\clib.pre >cpp.err
  26.  
  27. # end of CPP.MAK
  28.  
  29.